package org.bluedream.core.module.sys.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.bluedream.comm.base.OrgPageEntity;

/**
 * @ClassName Store
 * @Description TODO
 * @Author foxsand
 * @Data 2021-11-23 13:43
 * @Version
 */
@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
@TableName(value = "tStore")
public class Store extends OrgPageEntity<Store> {
    private static final long serialVersionUID = -3003032267852938850L;

    private String code;
    private String name;

    public Store(Long limit , Long pageSize) {
        this.limit = limit;
        this.page = pageSize;
    }

    public Store(String id){
        this.id = id;
    }
}
